
<label class="btn-select">
<select style="visibility:hidden; width:0; height:0" id="<?php echo $id;?>" name="<?php echo $name;?>" data-value="<?php echo $value?>">
<?php


$param['options'] = isset($param['options']) ? (is_array($param['options']) ? $param['options'] : explode(PHP_EOL, $param['options'])) : [];

foreach($param['options'] as $k=>$v){
	$selected = $v['key'] == $value ? ' selected' : '';
?>
<option value="<?php echo $v['key']?>"<?php echo $selected?>><?php echo $v['value']?></option>
<?php
}
?>
</select>
</label>
